The broader NSE Nifty, on the other hand, ended 2.70 points, or 0.02 per cent, lower at 11,555.90 in its third straight day of losses.
Eight Sensex biggies such as Reliance, L&T, BHEL, SBI and ICICI Bank are among the worst hit.
Investors booked profits in range-bound trade, led by PSU, oil & gas, energy, infrastructure, telecom, realty, healthcare, bankex, FMCG, capital goods and power counters.
In absolute terms, the year closed with the market capitalisation of all BSE-listed companies rising by Rs 45.5 lakh crore to Rs 152 lakh crore, or an increase of 42.8 per cent, compared to the closing value on December 30, 2016, says Pavan Burugula.
Rather than focusing on profits, market should look at the inherent strength of the balance sheet whether it can withstand difficulties, he said.
Ajit Mishra, vice president, Research, Religare Broking, answers your queries.
The Sensex and Nifty remained above their key levels of 36,000 and 10,900 throughout the session, indicating strong investor optimism after a prolonged spell of caution.
Most of the session's gains for both the indices were wiped out as investors rushed to book profits ahead of F&O expiry on Thursday and also due to concerns over stretched valuations.
The broader Nifty ended on top of 9,800 again.
The Harvard alum has known the Yale alum for ages, but hit it off recently.
Auto and realty shares were among the top Sensex gainers.
This measure will ensure that the price of a scrip cannot move upward or downward beyond a limit set for the day.
The Sensex ended up 48 points at 28,386 and the Nifty gained 13 points to close at 8,476.
The broader Nifty of National Stock Exchange scaled the 10,200 mark intra day before closing at 10,184.85, showing a sizeable gain of 38.30 points, or 0.38 per cent.
Profit booking in realty, oil and gas, capital goods, power and metal stocks pulled the index down to the day's low of 25,347.33 points.
Verdicts paving the way for construction of a Ram Temple at Ayodhya and India's multi-billion dollar Rafale fighter jet deal with France were 2019's landmark imprints of the Supreme Court, which also found itself at the centre of a controversy with then Chief Justice of India Ranjan Gogoi being accused of sexual harassment before getting the clean chit.
In the 30-share Sensex constituents, 16 ended lower and 14 gained, helping the benchmark indices trim losses.
The restraint on part of investors was chiefly because of RBI's minutes of its December policy meeting, which showed that some members were concerned about rising oil prices, its inflationary impact and possibility of fiscal slippage.
The 30-share Sensex was up 191 points at 28,707.75 and the 50-share Nifty was up 54 points at 8,714.
Nifty is likely to remain under selling pressure unless and until it breach the 7,700-7,720 levels on closing basis.
At the BSE, 1,964 stocks declined and 871 advanced while 99 remained unchanged.
SBI had a bad day, sliding the most by 5.36%. Others that dragged the key indices down were M&M, Reliance Industries and L&T.
Infrastructure and real estate prominently feature as wealth destroyers.
In 2008, the 13 companies on the list accounted for 34 per cent of the overall m-cap.
Coal India fell the most by 2.58 per cent among Sensex scrips, dragging the index into the negative zone.
Wipro rose the most, up 3.12 per cent, ahead of its board meeting to discuss buyback of shares.
Coal India topped the losers' list in the Sensex pack on Tuesday, falling 2.36 per cent, followed by Bharti Airtel at 2.16 per cent.
Coal India was the biggest gainer on both Sensex and Nifty
Investor wealth on Wednesday diminished by Rs 1.84 lakh crore amid massive sell-off in the equity market.
Fresh buying by domestic institutional investors and better-than-expected June quarter results from some blue-chip companies boosted investor sentiment
Both the indices ended at their highest levels since February 1.
Proceeds of the crime had been siphoned off and laundered or concealed, or layered and integrated into the main financial system through the acquisition of properties. His wife Bindu Kapoor has been charged with being aware of the source of monies that were being routed through these companies.
'It is easy to dramatise the events of today, but it is far more important to focus on the fact that we have a radically overvalued financial sector. It is a house of cards.'
The broader Nifty also succumbed to the pressure before recovering to close lower by 6.35 points, or 0.07 per cent at 8,693.05
Of the 30-share Sensex, 13 ended higher, while 17 led by Power Grid, Tata Steel, Bajaj Auto, Hero MotoCorp, NTPC, Tata Motors, Dr Reddy's, M&M, GAIL, Infosys and L&T finished lower, fell by up to 2.40 per cent
From auto to watches, the mood is sombre due to the alarming state of the Indian economy and value erosion in stock market capitalisation.
As the Sensex continued with its record-breaking show, over 750 stocks hit one-year high levels on the Bombay Stock Exchange on Friday.
The 30-share Sensex, after opening on a strong footing, continued its upward march to hit an all-time high of 35,827.70. The NSE Nifty also hit a record intra-day high of 10,975.10, before finishing at 10,966.20, up 71.50 points.
Tata Motors was the top gainer on better-than-expected June quarter revenues
Bank Nifty closes at a 30-month high; Rate sensitives lead the rally on RBI rate cut optimism.